/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import com.shanhesoft.java.common.core.vo.DataDto;

import java.util.Date;

/**
 * 课程管理Dto 课程管理
 * @author admin
 * @version 2020-09-23 19:34:44
 */
@Data @ToString @NoArgsConstructor @AllArgsConstructor
public class CourseDto extends DataDto<String> {

	private static final long serialVersionUID = 1L;
	/** F_NAME name  :  课程名称 */
	public static final String F_NAME = "name";
	/** F_COMMENT comment  :  课程简介 */
	public static final String F_COMMENT = "comment";
	/** F_FILES files  :  课件 */
	public static final String F_FILES = "files";
	/** F_AVATARURL avatar_url  :  封面图片 */
	public static final String F_AVATARURL = "avatarUrl";
	/** F_BANKID bank_id  :  题库编号 */
	public static final String F_BANKID = "bankId";
	/** F_TEACHERID teacher_id  :  教师编号 */
	public static final String F_TEACHERID = "teacherId";
	/** F_TERMSID terms_id  :  学期编号 */
	public static final String F_TERMSID = "termsId";
	/** F_STARTDATE start_date  :  开始时间 */
	public static final String F_STARTDATE = "startDate";
	/** F_ENDDATE end_date  :  结束时间 */
	public static final String F_ENDDATE = "endDate";


	/** name 课程名称 */
 @Size(max=255)
	private String name;
	/** comment 课程简介 */
 @Size(max=2000)
	private String comment;
	/** files 课件 */
 @Size(max=20000)
	private String files;
	/** avatarUrl 封面图片 */
	@Size(max=2000)
	private String avatarUrl;
	/** bankId 题库编号 */
 @NotNull
	private String bankId;
	/** teacherId 教师编号 */
 @NotNull
	private String teacherId;
	/** termsId 学期编号 */
 @NotNull
	private String termsId;
	/** startDate 开始时间 */
 @NotNull
	private Date startDate;
	/** endDate 结束时间 */
 @NotNull
	private Date endDate;


}
